﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UpPass.aspx.cs" Inherits="kim.UpPass" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>修改密码</title>
    <link rel="stylesheet" type="text/css" href="../img/style.css" />
   <script type="text/javascript" src="../js/cursorfocus.js"></script>

    <script type="text/javascript">
        $(function () {
            //表单验证JS
            $("#form1").validate({
                //出错时添加的标签
                errorElement: "span",
                success: function (label) {
                    //正确时的样式
                    label.text(" ").addClass("success");
                }
            });
            //显示关闭高级选项
            $("#upordown").toggle(function () {
                $(this).text("关闭高级选项");
                $(this).removeClass();
                $(this).addClass("up-01");
                $(".upordown").show();
            }, function () {
                $(this).text("显示高级选项");
                $(this).removeClass();
                $(this).addClass("up-02");
                $(".upordown").hide();
            });
        });
    </script>
</head>
<body style="padding:10px;">
    <form id="form1" runat="server">
    <div class="navigation">
      <b>您当前的位置：首页 &gt; 会员管理 &gt;密码修改 </b>
    </div>
    <div style="padding-bottom:10px;"></div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
        <tr>
            <th colspan="2" align="left">密码修改</th>
        </tr>
                <tr>
            <td width="15%" align="right">原密码：</td>
            <td width="85%">
            <asp:TextBox ID="txtOld" runat="server" Width="200px"  CssClass="input required"  TextMode="Password"
         datatype="*3-50" nullmsg="输入密  码！" errormsg="原密码，至少3个字符，小于50个字符，如“admin”。"></asp:TextBox>
            </td>
        </tr>
         <tr>
            <td width="15%" align="right">新密码：</td>
            <td width="85%">
            <asp:TextBox ID="txtNew" Width="200px" runat="server" CssClass="input required"  name="userpassword" TextMode="Password"
           datatype="*3-50" nullmsg="输入新密码！" errormsg="新密码，至少3个字符，小于50个字符，如“admin”。"></asp:TextBox>
            </td>
        </tr>
         <tr>
            <td width="15%" align="right">确认密码：</td>
            <td width="85%">
            <asp:TextBox ID="txtNewT" Width="200px"  runat="server" CssClass="input required"   TextMode="Password"
           name="userpassword2" datatype="*3-50" nullmsg="输入重复密码！" recheck="txtNew"
                    errormsg="您两次输入的账号密码不一致！" ></asp:TextBox>
            </td>
        </tr>

    </table>
    <div style="margin-top:10px;text-align:center;">
  <asp:Button ID="btnSave" runat="server" Text="确认保存" CssClass="submit" onclick="btnSave_Click" 
        />
       
  &nbsp;
  <input name="重置" type="reset" class="submit" value="重置" />
   <asp:Label ID="lblmsg" runat="server" Text="" ForeColor="Red"></asp:Label>
  &nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</div>
    </form>
    <script src="../Js/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script src="../Js/Validform_v5.3_min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $("#form1").Validform();
    </script>
</body>
</html>